package com.xiongwei.compasite;

public class Client {

    public static void main(String[] args) {
        University university = new University("武汉大学");

        College college1 = new College("计算机学院");
        College college2 = new College("经管学院");

        Department department1 = new Department("网络安全");
        Department department2 = new Department("大数据");

        college1.add(department1);
        college1.add(department2);

        university.add(college1);
        university.add(college2);

        university.print();
        college1.print();
    }

}
